import vuex from 'vuex';
import Vue from 'vue';
import ElementUI from 'element-ui'
import './assets/css/var.css';

import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/theme-chalk/display.css';
import VueRouter from 'vue-router';
import routes from './router/router';
import store from './store/store.js';
import App from './App.vue';
import axios from 'axios';
import 'es6-promise';
import plugins from './components/comm/index.js'
import './assets/css/reset.css'

Vue.prototype.$axios = axios;
Vue.config.productionTip = false;
Vue.use(ElementUI)
Vue.use(VueRouter);
Vue.use(vuex);
Vue.use(plugins);
const router = new VueRouter({
  routes,
  mode: 'hash',
  strict: process.env.NODE_ENV !== 'production',
});

new Vue({
  router,
  store,
  render: (h) => h(App), 
}).$mount('#app');